#ifndef COROUTINEC_H
#define COROUTINEC_H

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include "commonhead.h"

int coroutine_create(int fd, coroutine_func func, void* arg);
void coroutine_yield();
void coroutine_resume(int id);

#endif